﻿@model FollowPeers.Models.LogOnModel

@{
    ViewBag.Title = "Log On";
}

<div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
        </div>
      </div>
    </div>
@*@Html.Partial("_Header")*@
<div class="grid_16">
    <h2 id="page-heading">Oops. Login Failed.</h2>
</div>
<div class="clear"></div>
<div class="grid_10 prefix_3">

<div class="box">
@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")
<p>
    @Html.ActionLink("Register", "Register") if you don't have an account.
</p>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>



@using (Html.BeginForm()) {
    <div>
        <fieldset>
            <legend>Account Information</legend>

            <div class="editor-field">
                @Html.TextBoxFor(m => m.UserName,new { @placeholder="Email address", @class="input-xlarge" })
                @Html.ValidationMessageFor(m => m.UserName)
            </div>
            
            <div class="editor-field">
                @Html.PasswordFor(m => m.Password, new { @placeholder="Password", @class="input-xlarge" })
                @Html.ValidationMessageFor(m => m.Password)
            </div>

            <div class="checkbox">
                 @Html.CheckBoxFor(m => m.RememberMe)
                @Html.LabelFor(m => m.RememberMe)
            </div>

            <div class="controls">
                <input class="btn btn-primary" type="submit" value="Sign In"/>
            </div>
            @*<div>
                <input type="submit" value="Sign In" />
            </div>*@
        </fieldset>
    </div>
}
</div>
</div>
<div class="clear"></div>
@Html.Partial("_Footer")